;
(function (window, angular) {
    'use strict';
    angular.module("Controller.BasicData", ["Controller.BasicData.Depot", "Controller.BasicData.Materiel", "Controller.BasicData.SetMaterielPrice", "Controller.BasicData.PriceScheme", "Controller.BasicData.BillType", "Controller.BasicData.Printer", "Controller.BasicData.PrintTemplate", "Controller.BasicData.SetPrintTemplate","Controller.BasicData.MaterielClass",
        "Controller.BasicData.Supple","Controller.BasicData.PurchaseType","Controller.BasicData.Delivery","Controller.BasicData.SafeInventoryConfig", "Controller.BasicData.CommonQuery"
        , "Controller.BasicData.PackageSpec", "Controller.BasicData.replaceMaterial", "Controller.BasicData.DailyStartworkRate"
        , "Controller.BasicData.WjReportProModel", "Controller.BasicData.WjServicePartUsage","Controller.Account.WjServicePartDetail", "Controller.BasicData.purchaseInfoRecord",
        "Controller.BasicData.MaterialInfoRecord","Controller.BasicData.priceSchemeSearch","Controller.BasicData.Order",
    ])
        .config(['$stateProvider', function ($stateProvider) {

            $stateProvider.state("app.basicData.packageSpec", {
                url: "/packageSpec",
                templateUrl: "view/basicData/packageSpec.html",
                controller: "PackageSpecCtrl"
            });

            $stateProvider.state("app.basicData.depot", {
                is18n: true,
                url: "/depot",
                templateUrl: "view/basicData/depot.html",
                controller: "DepotCtrl"
            });

            $stateProvider.state("app.basicData.materiel", {
                is18n: true,
                url: "/materiel",
                templateUrl: "view/basicData/materiel.html",
                controller: "MaterielCtrl"
            });

            $stateProvider.state("app.basicData.setMaterielPrice", {
                is18n: true,
                url: "/setMaterielPrice",
                templateUrl: "view/basicData/setMaterielPrice.html",
                controller: "SetMaterielPriceCtrl"
            });

            $stateProvider.state("app.basicData.priceScheme", {
                is18n: true,
                url: "/priceScheme",
                templateUrl: "view/basicData/priceScheme.html",
                controller: "PriceSchemeCtrl"
            });

            $stateProvider.state("app.basicData.purchaseInfoRecord", {
                is18n: true,
                url: "/purchaseInfoRecord",
                templateUrl: "view/basicData/purchaseInfoRecord.html",
                controller: "PurchaseInfoRecordCtrl"
            });
            $stateProvider.state("app.basicData.priceSchemeSearch", {
                is18n: true,
                url: "/priceSchemeSearch",
                templateUrl: "view/basicData/priceSchemeSearch.html",
                controller: "PriceSchemeSearchCtrl"
            });
            $stateProvider.state("app.basicData.billType", {
                is18n: true,
                url: "/billType",
                templateUrl: "view/basicData/billType.html",
                controller: "BillTypeCtrl"
            });

            $stateProvider.state("app.basicData.printer", {
                is18n: true,
                url: "/printer",
                templateUrl: "view/basicData/printer.html",
                controller: "PrinterCtrl"
            });

            $stateProvider.state("app.basicData.printTemplate", {
                is18n: true,
                url: "/printTemplate",
                templateUrl: "view/basicData/printTemplate.html",
                controller: "PrintTemplateCtrl"
            });

            $stateProvider.state("app.basicData.printTemplate.addTemplate", {
                is18n: true,
                url: "/addPrintTemplate?printType?templateTypeCode",
                templateUrl: "view/basicData/addPrintTemplate.html",
                controller: "setPrintTemplateCtrl"
            });
            $stateProvider.state("app.basicData.printTemplate.editTemplate", {
                is18n: true,
                url: "/editPrintTemplate?id?printType?templateTypeCode",
                templateUrl: "view/basicData/addPrintTemplate.html",
                controller: "setPrintTemplateCtrl"
            });

            $stateProvider.state("app.basicData/materielClass", {
                is18n: true,
                url: "/materielClass",
                templateUrl: "view/basicData/materielClass.html",
                controller: "MaterielClassCtrl"
            });

            $stateProvider.state("app.basicData.supple", {
                url: "/supple",
                templateUrl: "view/basicData/supple.html",
                controller: "SuppleCtrl"
            });

            $stateProvider.state("app.basicData.purchaseType", {
                is18n: true,
                url: "/purchaseType",
                templateUrl: "view/basicData/purchaseType.html",
                controller: "PurchaseTypeCtrl"
            });

            $stateProvider.state("app.basicData.delivery", {
                is18n: true,
                url: "/delivery",
                templateUrl: "view/basicData/delivery.html",
                controller: "DeliveryCtrl"
            });

            $stateProvider.state("app.basicData.safeInventoryConfig", {
                is18n: true,
                url: "/safeInventoryConfig",
                templateUrl: "view/basicData/safeInventoryConfig.html",
                controller: "SafeInventoryConfigCtrl"
            });

            $stateProvider.state("app.basicData.commonQuery", {
                url: "/basicData/commonQuery",
                templateUrl: "view/basicData/commonQuery.html",
                controller: "CommonQueryCtrl"
            });

            $stateProvider.state("app.basicData.replaceMaterial", {
                is18n: true,
                url: "/replaceMaterial",
                templateUrl: "view/basicData/replaceMaterial.html",
                controller: "ReplaceMaterialCtrl"
            });

            $stateProvider.state("app.basicData.dailyStartworkRate", {
                url: "/dailyStartworkRate",
                templateUrl: "view/basicData/dailyStartworkRate.html",
                controller: "DailyStartworkRateCtrl"
            });

            $stateProvider.state("app.basicData.wjReportProModel", {
                url: "/wjReportProModel",
                templateUrl: "view/basicData/wjReportProModel.html",
                controller: "WjReportProModelCtrl"
            });

            $stateProvider.state("app.basicData.wjServicePartUsage", {
                url: "/wjServicePartUsage",
                templateUrl: "view/basicData/wjServicePartUsage.html",
                controller: "WjServicePartUsageCtrl"
            });
            $stateProvider.state("app.basicData.wjServicePartDetail", {
                url: "/wjServicePartDetail",
                templateUrl: "view/basicData/wjServicePartDetail.html",
                controller: "WjServicePartDetailCtrl"
            });

            $stateProvider.state("app.basicData.materialInfoRecord", {
                url: "/materialInfoRecord",
                templateUrl: "view/basicData/materialInfoRecord.html",
                controller: "MaterialInfoRecordCtrl"
            });

            $stateProvider.state("app.basicData.order", {
                url: "/order",
                templateUrl: "view/basicData/order.html",
                controller: "OrderCtrl"
            });
        }])
    ;
})(window, window.angular);
